package com.mapull.example.section2;

/**
 * LongToString
 *
 * @author mapull
 * @date 2021-09-07
 * @since 1.0
 **/
public class LongToString {
    public static void main(String[] args) {
        long number = 31415926L;
        String strValue1 = String.valueOf(number);
        String strValue2 = Long.toString(number);

        System.out.println(strValue1);
        System.out.println(strValue2);
    }
}
